Skip to content

Scc 5050 2#622

Open
danamansana wants to merge 104 commits intomainfrom
scc-5050-2
Open

Scc 5050 2#622
danamansana wants to merge 104 commits intomainfrom
scc-5050-2

Conversation

@danamansana
Copy link
Copy Markdown
Contributor

@danamansana danamansana commented Jan 20, 2026

  • lib/resources was a mix of several different concerns. This PR separates functions for building ES queries into a new helper files, in order to pare down lib/resources and achieve a closer match between functions and routes
  • Changes the strategy for building ES query bodies. Instead of extensive mutation, the new approach removes mutation of ES query bodies. This should make it easier to match the fields in the return value to what is actually being passed to ES.
  • Helper methods for building ES queries have been moved to separate files.
  • Constructing filters for Es queries moved to Es query builder where they should have been
  • lib/resources has been rewritten to use async/await instead of promise chaining

charmingduchess and others added 30 commits June 2, 2025 10:39
Actual firedrill time!
Trying out overriding the policy of _not_ applying namesake filter to
aggregations when there is no other search criteria

https://newyorkpubliclibrary.atlassian.net/browse/SCC-4789
@yossariano
Copy link
Copy Markdown
Contributor

Merged the latest main in and updated to play nice with contributor browse changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants